import api from './api'

/**
 * 刷新用户信息
 * @export
 * @returns
 */
export function fetchUserInfo() {
  return api.get('/user', { validateStatus: s => s === 200 })
}
